package com.qiche.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "store_member_car")
public class StoreMemberCar {
    /**
     * 主键标识
     */
    @Id
    private Long id;

    /**
     * 会员ID
     */
    @Column(name = "store_member_id")
    private Long storeMemberId;

    /**
     * 车牌号码
     */
    @Column(name = "plate_number")
    private String plateNumber;
    /**
     * 车架号
     */
    @Column(name = "frame_number")
    private String frameNumber;

    /**
     * 购买时间
     */
    @Column(name = "buying_time")
    private Date buyingTime;

    /**
     * 车辆信息
     */
    @Column(name = "car_info")
    private String carInfo;

    /**
     * 车辆图片
     */
    @Column(name = "car_img")
    private String carImg;

    /**
     * 品牌ID
     */
    @Column(name = "brand_id")
    private Integer brandId;

    /**
     * 车系ID
     */
    @Column(name = "vehicle_id")
    private Integer vehicleId;

    /**
     * 年份ID
     */
    private Integer year;

    /**
     * 型号ID
     */
    @Column(name = "model_id")
    private Integer modelId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

}